﻿using System;
using System.Net;
using SMS.Entities.BaseClasses;
using SMS.Entities.Enums;

namespace SMS.Entities
{
    public class CustomerTransaction : BaseEntity
    {
        private Customer _Customer;

        public Customer Customer
        {
            get { return _Customer; }
            set { _Customer = value; OnPropertyChanged("Customer"); }
        }

        private int _Transaction_ID;

        public int Transaction_Id
        {
            get { return _Transaction_ID; }
            set { _Transaction_ID = value; OnPropertyChanged("Transaction_Id"); }
        }

        private SalesManDetail _SalesMan;

        public SalesManDetail SalesMan
        {
            get { return _SalesMan; }
            set { _SalesMan = value; OnPropertyChanged("SalesMan"); }
        }

        private SaleHistory _SaleHistory;

        public SaleHistory SaleHistory
        {
            get { return _SaleHistory; }
            set { _SaleHistory = value; OnPropertyChanged("SaleHistory"); }
        }

        private TransactionType _CreditDebit;

        public TransactionType CreditDebit
        {
            get { return _CreditDebit; }
            set { _CreditDebit = value; OnPropertyChanged("CreditDebit"); }
        }

        private DateTime _TransactionDate;

        public DateTime TransactionDate
        {
            get { return _TransactionDate; }
            set { _TransactionDate = value; OnPropertyChanged("TransactionDate"); }
        }


        private decimal _Amount;

        public decimal Amount
        {
            get { return _Amount; }
            set { _Amount = value; OnPropertyChanged("RunningTotal"); }
        }

        private decimal _RunningTotal;

        public decimal RunningTotal
        {
            get { return _RunningTotal; }
            set { _RunningTotal = value; OnPropertyChanged("RunningTotal"); }
        }




    }
}
